import http from './request.js'


// 首页数据
export function Init(data){
    return http({
     url: '/Home/Init',
     method: 'POST',
     data: data
    });
};

// 估算页面数据
export function info(data){
    return http({
     url: '/Estimated/info',
     method: 'POST',
     data: data
    });
};
 
 
 // POST
 // 发送验证码接口
 // 请求URL
 // http://123.57.166.202:80/passport/SmsVerifyCode
 // 样例
 // http://123.57.166.202:80/passport/SmsVerifyCode?mobile=13601249586&type=login
 export function SmsVerifyCode(data){
	 
  
     return http({
      url: ':80/passport/SmsVerifyCode',
      method: 'GET',
      data: data
     });
 };
 
 
 
 // 用户登陆(注册)接口 OK
 // 请求URL
 // http://123.57.166.202:80/passport/dynamic
 // 样例
 // http://123.57.166.202:80/Passport/Dynamic?loginType=mobile&mobile=13601249586&code=001199&wx_code=小程序授权code
 // 请求方式
 // POST
 
 
 export function dynamic(data){
     return http({
      url: ':80/passport/dynamic',
      method: 'GET',
      data: data
     });
 };
 
 
 

 
 
 
 
 // 退出登陆接口
 // 请求URL
 // http://123.57.166.202:80/passport/Logout
 // 请求方式
 // POST
 
 export function Logout(data){
     return http({
      url: ':80/passport/Logout',
      method: 'POST',
      data: data
     });
 };
 
 
 // 简要描述
 // 检查微信是否注册接口
 // 请求URL
 // http://123.57.166.202:80/passport/CheckWxRegister
 // 请求方式
 // POST
 
 
 export function CheckWxRegister(data){
     return http({
      url: ':80/passport/CheckWxRegister',
      method: 'POST',
      data: data
     });
 };
 
 
 
 // 简要描述
 // 生成订单接口
 // 请求URL
 // http://123.57.166.202/order/CreateOrder
 // 请求方式
 // POST
 
 export function CreateOrder(data){
     return http({
      url: '/order/CreateOrder',
      method: 'GET',
      data: data
     });
 };
 
 
 // 订单详情接口
 // 请求URL
 // http://123.57.166.202/order/detail
 // 请求方式
 // POST
 
 export function detail(data){
     return http({
      url: '/order/detail',
      method: 'GET',
      data: data
     });
 };
 
 
 // 简要描述
 // 订单列表接口
 // 请求URL
 // http://123.57.166.202/order/list
 // 请求方式
 // POST
 
 export function listse(data){
     return http({
      url: '/order/list',
      method: 'POST',
      data: data
     });
 };
 
 
 
 // 订单取消接口
 // 请求URL
 // http://123.57.166.202/order/Cancel
 // 请求方式
 // POST
 
 export function Cancel(data){
     return http({
      url: '/order/Cancel',
      method: 'GET',
      data: data
     });
 };
 
 
 
 
 // 简要描述
 // 修改订单信息接口
 // 请求URL
 // http://123.57.166.202/order/UpdateOrderInfo
 // 请求方式
 // POST
 
 export function UpdateOrderInfo(data){
     return http({
      url: '/order/UpdateOrderInfo',
      method: 'GET',
      data: data
     });
 };
 
 
 //  http://123.57.166.202/Home/SelectDateList
 // 获取日期
 
 export function SelectDateList(data){
     return http({
      url: '/Home/SelectDateList',
      method: 'POST',
      data: data
     });
 };
 

 
 
 // 选择时间/
 //  http://123.57.166.202/Home/SelectTimeList?date_int=1713362636
 
 export function SelectTimeList(data){
 
     return http({
      url: '/Home/SelectTimeList?date_int='+data,
      method: 'POST',
      data: data
     });
 };
 
 // 汽车停靠点
 // http://123.57.166.202/Home/BerthList
 
 export function BerthList(data){
     return http({
      url: '/Home/BerthList',
      method: 'POST',
      data: data
     });
 };
 
 // http://123.57.166.202/Home/FloorList
 
 export function FloorList(data){
     return http({
      url: '/Home/FloorList',
      method: 'POST',
      data: data
     });
 };
 
 
 
 // 默认金额
 // http://123.57.166.202/Init/PriceConfig
 
 export function PriceConfig(data){
     return http({
      url: '/Init/PriceConfig',
      method: 'GET',
      data: data
     });
 };
 // 意见反馈类型接口
 // http://123.57.166.202/FeedBack/FeedBackType
 
 
 export function FeedBackType(data){
     return http({
      url: '/FeedBack/FeedBackType',
      method: 'GET',
      data: data
     });
 };
 
 
 
 // http://123.57.166.202/Comment/list
 
 // 评价

 export function commentlist(data){
     return http({
      url: '/Comment/list',
      method: 'GET',
      data: data
     });
 };
 
 
 // 8 => ‘关于我们’,
 // 9 => ‘用户协议’,
 // 10 => ‘隐私协议’,
 // 11 => ‘商务合作’,
 // 12 => ‘营业执照’,
 
 export function Aboutlist(data){
     return http({
      url: '/About/list',
      method: 'GET',
      data: data
     });
 };

 
 
 // 1 => ‘攻略’,
 // 2 => ‘普通搬家服务’,
 // 3 => ‘日式搬家服务’,
 // 4 => ‘企业搬迁服务’,
 // 5 => ‘普通搬家收费’,
 // 6 => ‘日式搬家收费’,
 // 7 => ‘企业搬迁收费’,
 
 
 export function Articlelist(data){
     return http({
      url: '/Article/list',
      method: 'GET',
      data: data
     });
 };
 
 
 // 攻略详情
 // Articleinfo
 // http://123.57.166.202/Article/info?id=2&type=1
 
 
 export function Articleinfo(data){
     return http({
      url: '/Article/info',
      method: 'GET',
      data: data
     });
 };
 
 
 // 上传图片
 export function Upload(data){
     return http({
      url: '/home/Upload',
      method: 'POST',
      data
     });
 };
 
 
 
 // http://123.57.166.202:80/Init/SystemConfig
 
 // 系统配置接口
 
 export function SystemConfig(data){
     return http({
      url: '/Init/SystemConfig',
      method: 'GET',
      data: data
     });
 };
 
 
 
 // 创建意见反馈
 // 
 
 export function  Create(data){
     return http({
      url: '/FeedBack/Create',
      method: 'GET',
      data
     });
 };
 
 
 // 支付接口
 // http://123.57.166.202:80/Order/Payment
 
 export function  Payment(data){
     return http({
      url: '/Order/Payment',
      method: 'GET',
      data
     });
 };
 
 // 评价创建接口
 // http://123.57.166.202/Comment/Create
 
 export function  CommentCreate(data){
     return http({
      url: '/Comment/Create',
      method: 'GET',
      data
     });
 };
 
 // http://123.57.166.202/DriverComment/Create
 
 // 司机评价创建接口
 
 
 export function  DriverComment(data){
     return http({
      url: '/DriverComment/Create',
      method: 'GET',
      data
     });
 };

 
 
